|
![](/i/fill.gif) |
Tom Melly <tom### [at] tomandlu co uk> wrote in message
news:3a7e7b74$1@news.povray.org...
> I came across this one the other day (don't know how I'd missed this
> "feature" before).
>
> Basically, I expected the two following rotations to be identical:
>
> rotate y * - 45 + 45
> rotate y * (- 45 + 45)
>
I would guess that pov is doing the multiplication first then adding
45. Hence it's doing rotate <0,-45,0> + 45.
whereas the brackets in the second force pov
to evaluate the -45+45 first and multiply with y second.
Gail
********************************************************************
* gsh### [at] monotix co za * System.dat not found. *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k *
********************************************************************
* If at first you don't succeed, call it version 1.0 *
********************************************************************
Post a reply to this message
|
![](/i/fill.gif) |